package com.cm309.hospital.model;

public class DoctorSchedule {
	
	private String doctor_schedule_id="";
	private String datetime="";
	private String am_pm_ind="";
	private String am_pm_label="";

	public DoctorSchedule() {
	}


	public DoctorSchedule(String doctor_schedule_id,String datetime,String am_pm_ind) {
		this.doctor_schedule_id = doctor_schedule_id;
		this.datetime = datetime;
		this.am_pm_ind = am_pm_ind;
		if (this.am_pm_ind.equals("A"))		
			this.am_pm_label = this.datetime+" 上午";
		else
			this.am_pm_label = this.datetime+" 下午";
		
	}


	public String getDoctor_schedule_id() {
		return doctor_schedule_id;
	}


	public void setDoctor_schedule_id(String doctor_schedule_id) {
		this.doctor_schedule_id = doctor_schedule_id;
	}


	public String getAm_pm_label() {
		return am_pm_label;
	}


	public void setAm_pm_label(String am_pm_label) {
		this.am_pm_label = am_pm_label;
	}


	public String getDatetime() {
		return datetime;
	}


	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}


	public String getAm_pm_ind() {
		return am_pm_ind;
	}


	public void setAm_pm_ind(String am_pm_ind) {
		this.am_pm_ind = am_pm_ind;
	}


	

}
